package com.hongyue.Dey06;

import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Properties;

public class Demo {
    public static void main(String[] args) throws IOException {
        BufferedWriter bw = new BufferedWriter(new FileWriter("dey13\\src\\com\\hongyue\\dey06\\aaa.txt"));
        Properties p = new Properties();
        p.put("aaa", "bbbb");
        p.store(bw,"aaa");
        bw.close();
    }
}
